<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>CSS与HTML整合的三种链接方式</title>
  <link type="text/css" rel="stylesheet" href="demo1.css">
  <style>
    .div2{
      color: pink;
    }
  </style>
</head>
<body>
<div class="div1">
  <h2>第一种外部样式</h2>
</div>
<div class="div2">
  <h3>第二种内部样式</h3>
</div>
<div style="background-color: #74a9b2; font-size: 50px; color: coral" >
  <h1>第三种内嵌式</h1>
</div>

</body>
</html>